package com.tj.jinzao.model;

import java.io.Serializable;

/**
 * 任务model
 * Created by wjy on 2018/11/10.
 */

public class Mission implements Serializable {

    /**
     * createTime : 2019-03-04T12:28:46.291Z
     * day : string
     * dayTask : true
     * id : 0
     * success : true
     * taskCode : string
     * taskName : string
     * uid : 0
     */

    private String createTime;
    private String day;
    private boolean dayTask;
    private int id;
    private boolean success;
    private String taskCode;
    private String taskName;
    private int uid;
    private int remainTimes;

    @Override
    public String toString() {
        return "Mission{" +
                "createTime='" + createTime + '\'' +
                ", day='" + day + '\'' +
                ", dayTask=" + dayTask +
                ", id=" + id +
                ", success=" + success +
                ", taskCode='" + taskCode + '\'' +
                ", taskName='" + taskName + '\'' +
                ", uid=" + uid +
                ", remainTimes=" + remainTimes +
                '}';
    }

    public int getRemainTimes() {
        return remainTimes;
    }

    public void setRemainTimes(int remainTimes) {
        this.remainTimes = remainTimes;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public boolean isDayTask() {
        return dayTask;
    }

    public void setDayTask(boolean dayTask) {
        this.dayTask = dayTask;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getTaskCode() {
        return taskCode;
    }

    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }
}
